
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGCameraDecorator.h>
#include <OpenSG/OSGCameraDecoratorBase.h>
#include <OpenSG/OSGDrawAction.h>
#include <OpenSG/OSGViewport.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_CameraDecorator_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_CameraDecorator()
{
    scope* osg_CameraDecoratorBase_scope = new scope(
    class_< osg::CameraDecoratorBase, bases< osg::Camera > , boost::noncopyable >("CameraDecoratorBase", no_init)
        .def_readonly("DecorateeFieldMask", &osg::CameraDecoratorBase::DecorateeFieldMask)
        .def_readonly("MTInfluenceMask", &osg::CameraDecoratorBase::MTInfluenceMask)
        .def("getClassType", &osg::CameraDecoratorBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::CameraDecoratorBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::CameraDecoratorBase::*)() )&osg::CameraDecoratorBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::CameraDecoratorBase::*)() const)&osg::CameraDecoratorBase::getType, return_internal_reference< 1 >())
        /*
	.def("getContainerSize", &osg::CameraDecoratorBase::getContainerSize)
        //.def("getDecoratee", (osg::CameraPtr& (osg::CameraDecoratorBase::*)() )&osg::CameraDecoratorBase::getDecoratee, return_value_policy< copy_const_reference >())
        .def("getDecoratee", (const osg::CameraPtr& (osg::CameraDecoratorBase::*)() const)&osg::CameraDecoratorBase::getDecoratee, return_value_policy< copy_const_reference >())
        //.def("getBeacon", (osg::NodePtr& (osg::CameraDecoratorBase::*)() )&osg::CameraDecoratorBase::getBeacon, return_value_policy< copy_const_reference >())
        .def("getBeacon", (const osg::NodePtr& (osg::CameraDecoratorBase::*)() const)&osg::CameraDecoratorBase::getBeacon, return_value_policy< copy_const_reference >())
        //.def("getNear", (osg::Real32& (osg::CameraDecoratorBase::*)() )&osg::CameraDecoratorBase::getNear, return_value_policy< copy_const_reference >())
        .def("getNear", (const osg::Real32& (osg::CameraDecoratorBase::*)() const)&osg::CameraDecoratorBase::getNear, return_value_policy< copy_const_reference >())
        //.def("getFar", (osg::Real32& (osg::CameraDecoratorBase::*)() )&osg::CameraDecoratorBase::getFar, return_value_policy< copy_const_reference >())
        .def("getFar", (const osg::Real32& (osg::CameraDecoratorBase::*)() const)&osg::CameraDecoratorBase::getFar, return_value_policy< copy_const_reference >())
        .def("setDecoratee", &osg::CameraDecoratorBase::setDecoratee)
        .def("setBeacon", &osg::CameraDecoratorBase::setBeacon)
        .def("setNear", &osg::CameraDecoratorBase::setNear)
        .def("setFar", &osg::CameraDecoratorBase::setFar)
        .def("getBinSize", &osg::CameraDecoratorBase::getBinSize)
        .def("copyToBin", &osg::CameraDecoratorBase::copyToBin)
        .def("copyFromBin", &osg::CameraDecoratorBase::copyFromBin)
	*/
        .staticmethod("getClassType")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::CameraDecoratorBase::NextFieldId;
    scope().attr("DecorateeFieldId") = (int)osg::CameraDecoratorBase::DecorateeFieldId;

    delete osg_CameraDecoratorBase_scope;

    class_< osg::CameraDecorator, bases< osg::CameraDecoratorBase > , boost::noncopyable, osg::CameraDecoratorRefPtr >("CameraDecorator", no_init)
        /*
	.def("changed", &osg::CameraDecorator::changed)
        .def("draw", &osg::CameraDecorator::draw)
        .def("getProjection", &osg::CameraDecorator::getProjection)
        .def("getProjectionTranslation", &osg::CameraDecorator::getProjectionTranslation)
        .def("getViewing", &osg::CameraDecorator::getViewing)
	*/
        .def("dump", &osg::CameraDecorator::dump, osg_CameraDecorator_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::CameraDecoratorPtr>();
    implicitly_convertible<osg::CameraDecoratorRefPtr, osg::CameraDecoratorPtr>();
    implicitly_convertible<osg::CameraDecoratorPtr, osg::CameraPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::CameraDecoratorPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::CameraDecoratorPtr>);
}

